package com.liya.pojo;

/**
 * @author LiYa
 * @version 1.0
 * @className UserRole
 * @description TODO
 * @science 2020/9/22 19:42
 */
public class UserRole {
    private int id; //user_role主键
    private int userId; //关联user表的主键
    private int roleId; //关联role表的主键

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public int getRoleId() {
        return roleId;
    }

    public void setRoleId(int roleId) {
        this.roleId = roleId;
    }
}
